package Day05;

public class Demo01 {
    public static void main(String[] args) {
        Person p = new Person();
        p.name = "刘焮";
        p.age = 20;
        p.sex = '男';
        p.say();


    }
}

    class Person {
        String name;
        int age;
        char sex;


        void say() {
            System.out.println("我叫" + name);
        }
    }


